package com.suvel.mongodb.dao;

import com.suvel.mongodb.pojo.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @program: mongodb
 * @description:
 * @author: su wei
 * @create: 2021-02-22 15:36
 */

public interface MongoDBResumeRepository extends MongoRepository<Resume,String> {

    List<Resume> findByNameEquals(String name);
    List<Resume> findByName(String name);


}
